﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AttachPropertyDemo
{
    public class MainViewModel : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler? PropertyChanged;


		private string password;

		public string Password
		{
			get { return password; }
			set { password = value;
                PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Password)));}
		}

        public MainViewModel()
        {
            Password = "123456";
        }
    }
}
